import os
import time
from pathlib import Path

for item in Path.cwd().parent.rglob("*.png"):
    print(item)
for item in Path.cwd().parent.rglob("*.txt"):
    print(item)
    print(time.strftime("%Y.%m.%d %H:%M:%S",time.localtime(item.stat().st_ctime)))
for item in Path.cwd().parent.rglob("exercise*.py"):
    print(item)
for item in Path.cwd().parent.rglob("*.png"):
    item.stat().st_size
list01=[item.stat().st_size for item in Path.cwd().parent.rglob("*.png")]
print(list01)
